#include "analy/branch/ToolBranchBT.h"

ToolBranchBT::ToolBranchBT(){
    QFont bottonFont("KaiTi_GB2312", 10);
    DT_exec->doconfigur_brighttype(NT::DRAWTYPE_RECT, 4, 1);
    DT_exec->doconfigur_colorgroup({{MSEVKEY.WIN_NORMAL, QColor(89,89,89)},
                                    {MSEVKEY.WIN_PRESS, QColor(255,255,255)}});
    DT_exec->doconfigur_backcolorgroup({{MSEVKEY.WIN_NORMAL, QColor(228,226,239)},
                                        {MSEVKEY.WIN_PRESS, QColor(200,197,222)}});
    DT_exec->doconfigur_bordercolorgroup({{MSEVKEY.WIN_ENTER, QColor(120,120,120)}});

    definfc.batchFont({DT_exec, DT_anlyGbar}, bottonFont, 10);
    DT_exec->doconfigur_textsetting(Qt::AlignCenter);

    DT_anlyGbar->setAlignment(Qt::AlignCenter);
    DT_anlyGbar->setVisible(false);

}




